package com.test.analyse;

import lombok.Data;
import org.springframework.context.annotation.Configuration;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

@Data
@Configuration("analyse_config")
@PropertySource("classpath:analyse.properties")
public class Config {

    @Value("${analyse.brokerUrl}")
    private String brokerUrl;

    @Value("${analyse.reportTopic}")
    private String reportTopic;

    @Value("${analyse.kafkaGroup}")
    private String kafkaGroup;

    @Value("${analyse.analyseInterval}")
    private int analyseInterval;

    @Value("${analyse.consumeThread}")
    private int consumeThread;
}